/**
 * 
 */
package org.agiba.jira.plugin.model;

/**
 * @author kamann
 *
 */
public class XWikiCredentials {
	private String uid = "";
	private String pwd = "";

	public final static XWikiCredentials EMPTY = new XWikiCredentials()
			.withUid("").withPwd("");

	/**
	 * @return the uid
	 */
	public String getUid() {
		return uid;
	}
	/**
	 * @param uid the uid to set
	 */
	public void setUid(String uid) {
		this.uid = uid;
	}
	
	public XWikiCredentials withUid(String uid){
		setUid(uid);
		return this;
	}
	
	/**
	 * @return the pwd
	 */
	public String getPwd() {
		return pwd;
	}
	/**
	 * @param pwd the pwd to set
	 */
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	
	public XWikiCredentials withPwd(String pwd){
		setPwd(pwd);
		return this;
	}
}
